package com.mall.util.distributed.raft.config;

import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

@Data
@Accessors(chain = true)
@ConfigurationProperties(prefix = "raft")
public class RaftConfig {
    private String address;

    private List<String> peerAddress;
}
